home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************/
- /* BWRADIO.RC defines a simple Borland Windows Custom Control */
- /* Dialog Box that can be used as the main window. */
- /* Notice the CLASS "BORDLG" to activate the metalic background */
- /* Also notice the special "Borshade" Control and BorCheck controls */
- /* Notice the order of the controls Borshade, then 4 radio buttons, */
- /* then a Borshade and 4 more radio buttons. Also, notice that the */
- /* first radio button in each group has the Tab stop set. The order*/
- /* and the tabstop are important in order to make the TAB and the */
- /* arrow keys function correctly. */
- /********************************************************************/
-
- #include "windows.h"
- #include "bwcc.h"
-
- MAINWINDOWDIALOG DIALOG 13, 25, 126, 130
- CAPTION "Borland Radio Buttons"
- CLASS "BORDLG"
- STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
- BEGIN
- CONTROL " Unit #12", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 60, 54, 66
- CONTROL "Test", 110, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 10, 72, 32, 10
- CONTROL "Phase 1", 120, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 84, 42, 10
- CONTROL "Phase 2", 130, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 96, 36, 10
- CONTROL "Phase 3", 140, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 10, 108, 36, 10
- CONTROL " Unit #13", 103, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE | WS_GROUP, 66, 60, 54, 66
- CONTROL "Test", 150, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 72, 72, 32, 10
- CONTROL "Phase 1", 160, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 84, 42, 10
- CONTROL "Phase 2", 170, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 96, 42, 10
- CONTROL "Phase 3", 180, "BorRadio", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 72, 108, 42, 10
- CONTROL "", 102, "BorShade", 2 | WS_CHILD | WS_VISIBLE, 0, 54, 126, 1
- CONTROL "", 101, "BorShade", BSS_GROUP | WS_CHILD | WS_VISIBLE, 6, 6, 114, 42
- CTEXT "Radio Buttons Display", -1, 12, 12, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "A rotary choice control", -1, 12, 24, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- CTEXT "Only one of each group is ON.", -1, 12, 36, 102, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
- END
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-